import GameCode.ConcreteAllyControlCenter;
import GameCode.Obeserver;
import GameCode.Player;

public class Main {
    public static void main(String[] args) {
        ConcreteAllyControlCenter hhz01=new ConcreteAllyControlCenter("一色");
        Obeserver z01=new Player("猪柿");
        Obeserver z02=new Player("通宵");
        Obeserver z03=new Player("图王");
        hhz01.join(z01);
        hhz01.join(z02);
        hhz01.join(z03);

        z03.beAttacked(hhz01);
    }
}